package com.vip.service.order.impl;

import com.vip.dao.order.dao.SubMenuDao;
import com.vip.dao.order.domain.SubMenu;
import com.vip.service.order.SubMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public class SubMenuServiceImpl implements SubMenuService {

    @Autowired
    SubMenuDao subMenuDao;

    @Override
    public List<SubMenu> findAll() {
        return subMenuDao.findAll();
    }
}
